package com.jiulong.dao;

import com.jiulong.model.TSpec;
import com.jiulong.model.TSpecExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TSpecMapper {
    long countByExample(TSpecExample example);

    int deleteByExample(TSpecExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TSpec record);

    int insertSelective(TSpec record);

    List<TSpec> selectByExample(TSpecExample example);

    TSpec selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TSpec record, @Param("example") TSpecExample example);

    int updateByExample(@Param("record") TSpec record, @Param("example") TSpecExample example);

    int updateByPrimaryKeySelective(TSpec record);

    int updateByPrimaryKey(TSpec record);
}